package com.sokal.easycare.modules.sys.entity;

import java.util.Date;

import com.sokal.easycare.common.persistence.DataEntity;

/**
 * 短信pojo
 * 
 * @author Yangmin
 *
 */
public class Sms extends DataEntity<Sms> {

	private String mobile;
	private String vcode;
	private Date expiredDatetime;


	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getVcode() {
		return vcode;
	}

	public void setVcode(String vcode) {
		this.vcode = vcode;
	}

	public Date getExpiredDatetime() {
		return expiredDatetime;
	}

	public void setExpiredDatetime(Date expiredDatetime) {
		this.expiredDatetime = expiredDatetime;
	}

	public void createSms(String mobile, String vcode, Date expiredDatetime) {
		this.mobile = mobile;
		this.vcode = vcode;
		this.expiredDatetime = expiredDatetime;
	}

}
